home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.5 Applications 1998 June
/
SGI IRIX 6.5 Applications 1998 June.iso
/
dist
/
arraysvcs.idb
/
usr
/
lib
/
array
/
arrayd.conf.template.z
/
arrayd.conf.template
Wrap
Text File
|
1998-04-15
|
3KB
|
90 lines
#
# Sample array services daemon (arrayd) configuration file
#
#
# These are definitions of the array(s) accessible from this system. Each
# array definition consists of an "array" statement which specifies the
# name used to refer to the array as a whole, and one or more "machine"
# statements, which specify the hostname of a single machine in that array.
#
array me #-AC3-arrayconfig will delete this line
machine localhost #-AC3-arrayconfig will delete this line
#-AC1-arrayconfig adds a local array definition here
#
# These are commands that can be invoked on the local system by other
# systems in the array. Each consists of a "command" statement that
# specifies the name of the command, one or more "invoke" statements which
# specify a single command to be executed by the local machine, and
# possibly other modifier statements which are described in the man pages.
#
command kill # Kill all processes with given ASH
invoke /usr/lib/array/asig kill %PIDS(%1)
user %USER
group %GROUP
command suspend # Stop all processes with given ASH
invoke /usr/lib/array/asig suspend %PIDS(%1)
user %USER
group %GROUP
command resume # Resume all processes with given ASH
invoke /usr/lib/array/asig resume %PIDS(%1)
user %USER
group %GROUP
command who # Display all users in array
invoke /usr/lib/array/awho local %LOCAL
merge /usr/lib/array/awho merge %OUTFILES
command ps # Display all processes in array
invoke /usr/lib/array/aps local %LOCAL %ALLARGS
merge /usr/lib/array/aps merge %OUTFILES
command uptime # Display uptime/load of all nodes in array
invoke /usr/lib/array/auptime %LOCAL
command top # Display the top few users in the array
invoke /usr/lib/array/atopm local %LOCAL
merge /usr/lib/array/atopm merge %OUTFILES
command signal # Send arbitrary signal to all procs with given ASH
invoke /usr/lib/array/asig %1 %PIDS(%2)
user %USER
group %GROUP
#
# These are commands used by other standard applications that are
# part of the Array software. These should not be changed if possible.
# THESE COMMANDS ARE NOT INTENDED TO BE USED INTERACTIVELY.
#
command viewh # Helper command for aview
invoke /usr/lib/array/aviewh %ALLARGS
command launch # Helper command for aview
invoke /usr/lib/array/alaunch %ORIGIN %ALLARGS
user %USER
group %GROUP
project %PROJECT
options LOCAL NOWAIT
command array_cpr_helper # Helper command for cpr
invoke /usr/lib/array/acpr %REALUSER %REALGROUP %ALLARGS
user %USER
group %GROUP
project %PROJECT
#
# These are settings that are local to this system, such as the default
# target array.
#
local
user guest
group guest
port 5434
options setmachid # Tell kernel to generate global ASHs
destination array me #-AC2-arrayconfig updates this